projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86794ce
)
quartz: Remove call to deprecated gdk_pointer_ungrab
author
Kristian Rietveld
<kris@gtk.org>
Thu, 14 Jul 2011 12:22:38 +0000
(14:22 +0200)
committer
Kristian Rietveld
<kris@gtk.org>
Thu, 14 Jul 2011 12:22:38 +0000
(14:22 +0200)
gtk/gtkdnd-quartz.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd-quartz.c
b/gtk/gtkdnd-quartz.c
index 07611713848f58de76e8a6c6f908dd638b095f29..49db14e91e0a185e1263f388668060625e475ecb 100644
(file)
--- a/
gtk/gtkdnd-quartz.c
+++ b/
gtk/gtkdnd-quartz.c
@@
-1111,6
+1111,7
@@
gtk_drag_begin_internal (GtkWidget *widget,
{
GtkDragSourceInfo *info;
GdkDragContext *context;
+ GdkDevice *pointer;
NSWindow *nswindow;
context = gdk_drag_begin (gtk_widget_get_window (widget), NULL);
@@
-1167,7
+1168,8
@@
gtk_drag_begin_internal (GtkWidget *widget,
g_idle_add_full (G_PRIORITY_HIGH_IDLE, gtk_drag_begin_idle, context, NULL);
- gdk_pointer_ungrab (0);
+ pointer = gdk_drag_context_get_device (info->context);
+ gdk_device_ungrab (pointer, 0);
return context;
}